/*
 * @Author: zhw 443844039@qq.com
 * @Date: 2025-08-04 22:34:11
 * @LastEditors: zhw 443844039@qq.com
 * @LastEditTime: 2025-08-05 21:57:17
 * @FilePath: \project\lingyuxx-jxjsdad\ruoyi-ui\src\api\teachingIdea\teachingPlan.js
 * @Description: 教学规划api
 */
import request from '@/utils/request'
// 教学规划List
export function coursePlanListApi(query) {
  return request({
    url: '/jsjx/coursePlan/list',
    method: 'get',
    params: query
  })
};
// 教学规划详情
export function coursePlanByIdApi(id) {
  return request({
    url: `/jsjx/coursePlan/${id}`,
    method: 'get',
  })
};
// 教学规划新增
export function coursePlanAddApi(data) {
  return request({
    url: '/jsjx/coursePlan',
    method: 'post',
    data
  })
};
// 教学规划编辑
export function coursePlanEditApi(data) {
  return request({
    url: '/jsjx/coursePlan',
    method: 'put',
    data
  })
};
// 教学规划删除
export function coursePlanDelApi(id) {
  return request({
    url: `/jsjx/coursePlan/${id}`,
    method: 'delete',
  })
};
// 教学规划导出
export function coursePlanImportDataApi(data) {
  return request({
    url: '/jsjx/coursePlan/importData',
    method: 'post',
    data
  })
};
